package com.example.demoweb.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * describe:
 *
 * @author helloworldyu
 * @date 2018/6/11
 */
@RestController
public class HelloController {
	@RequestMapping("/hello2")
	String hello(){
		return new Date().toString();
	}
}